TEC\Tickets\Commerce\Order B

Total Complexity 97
Dependencies 19
Dependents 35
Total lines 1,627
Lines of code 588
Logical lines of code 262
Comment lines 577
Methods 37
Properties 19

Methods 37

Method Rating Maintainability Complexity Lines of code
get_value()
A
45 13 37
create_from_cart()
A
37 7 82
modify_status()
A
44 9 46
upsert()
S
47 6 37
can_transition_to()
S
51 5 28
register_post_type()
S
41 1 58
get_gateway_label()
S
61 4 13
set_on_checkout_screen_hold()
S
53 3 22
remove_on_checkout_screen_hold()
S
55 3 20
checkout_completed()
S
56 3 19
get_events()
S
59 3 16
get_created_by()
S
58 3 15
lock_order()
S
56 2 18
is_checkout_completed()
S
58 2 18
unlock_order()
S
57 2 17
is_order_locked()
S
58 2 17
prepare_cart_items_for_order()
S
60 2 14
get_attendees()
S
62 2 11
generate_order_title()
S
63 2 10
redirect_after_error()
S
68 2 7
get_item_value()
S
71 2 5
is_valid()
S
69 2 7
has_on_checkout_screen_hold()
S
67 2 7
generate_order_key()
S
69 2 6
get_status_log_meta_key()
S
79 1 3
get_gateway_payload_meta_key()
S
79 1 3
get_flag_action_marker_meta_key()
S
75 1 4
create()
S
69 1 6
get_ticket_id()
S
79 1 3
get_from_gateway_order_id()
S
65 1 10
get_order_ids_from_gateway_order_id()
S
64 1 10
get_lock_id()
S
81 1 3
reset_lock_id()
S
80 1 3
generate_lock_id()
S
75 1 4
get_default_on_checkout_screen_hold_timeout()
S
78 1 3
get_order_items()
S
77 1 3
get_orders_total_value()
S
80 1 3